package org.anjan.dp.decorator.coffeesample;

/**
 * Created by chebbaso on 12/4/14.
 */
public class CoffeeMaker {
    public static void main(String[] args) {
        Ingredient ingredient = new CoffeeTopping(new CreamTopping(new BasicMilkIngredient()));
        Double cost = ingredient.getCost();
        System.out.println("cost = " + cost);
        String description = ingredient.getDescription();
        System.out.println("description = " + description);


    }
}
